curl -v -XPOST -H'Content-Type:application/json' 'http://localhost:9090/v1/deploy' -d'{
    "tasks":[
        {
            "k8s_task_yaml":"apiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: nginx1\n  labels:\n    app: nginx\nspec:\n  replicas: 3\n  selector:\n    matchLabels:\n      app: nginx\n  template:\n    metadata:\n      labels:\n        app: nginx\n    spec:\n      containers:\n      - name: nginx\n        image: nginx\n        ports:\n        - containerPort: 80\n        resources:\n          requests:\n            memory: \"64Mi\"\n            cpu: \"250m\"\n          limits:\n            memory: \"128Mi\"\n            cpu: \"500m\" \n"
        },
        {
            "k8s_task_yaml":"apiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: nginx2\n  labels:\n    app: nginx\nspec:\n  replicas: 3\n  selector:\n    matchLabels:\n      app: nginx\n  template:\n    metadata:\n      labels:\n        app: nginx\n    spec:\n      containers:\n      - name: nginx\n        image: nginx\n        ports:\n        - containerPort: 80\n        resources:\n          requests:\n            memory: \"64Mi\"\n            cpu: \"250m\"\n          limits:\n            memory: \"128Mi\"\n            cpu: \"500m\" \n"
        }
    ]
}'
